package com.jerry.chat.service;

import com.jerry.chat.dao.FriendRelationShipMapper;
import com.jerry.chat.domain.FriendRelationShip;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FriendRelationShipServiceImpl implements FriendRelationShipService {

    @Autowired
    private FriendRelationShipMapper mapper;

    @Override
    public void addFriend(FriendRelationShip friendRelationShip) {
        mapper.insert(friendRelationShip);
    }
}
